home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / emulation / frodo / src / frodogui.h < prev    next >
C/C++ Source or Header  |  1996-01-14  |  5KB  |  119 lines

  1. /*
  2.  *  Source machine generated by GadToolsBox V2.0b
  3.  *  which is (c) Copyright 1991-1993 Jaba Development
  4.  *
  5.  *  GUI Designed by : Christian Bauer
  6.  */
  7.  
  8. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  9. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  10.  
  11. #define GD_OK                                  0
  12. #define GD_Cancel                              1
  13. #define GD_Save                                2
  14. #define GD_Joystick1On                         3
  15. #define GD_Joystick2On                         4
  16. #define GD_JoystickSwap                        5
  17. #define GD_GetDisplayID                        6
  18. #define GD_DisplayID                           7
  19. #define GD_ScreenType                          8
  20. #define GD_GetDir8                             9
  21. #define GD_GetDir9                             10
  22. #define GD_GetDir10                            11
  23. #define GD_GetDir11                            12
  24. #define GD_OtherIEC                            13
  25. #define GD_KeyboardYZ                          14
  26. #define GD_Collisions                          15
  27. #define GD_MapSlash                            16
  28. #define GD_FastReset                           17
  29. #define GD_LimitSpeed                          18
  30. #define GD_NormalCycles                        19
  31. #define GD_BadLineCycles                       20
  32. #define GD_CIACycles                           21
  33. #define GD_SkipLatch                           22
  34. #define GD_Dir8                                23
  35. #define GD_Dir9                                24
  36. #define GD_Dir10                               25
  37. #define GD_Dir11                               26
  38. #define GD_Drv8Type                            27
  39. #define GD_Drv9Type                            28
  40. #define GD_Drv11Type                           29
  41. #define GD_Drv10Type                           30
  42. #define GD_SIDType                             31
  43. #define GD_DirectVideo                         32
  44. #define GD_SpritesOn                           33
  45.  
  46. #define GDX_OK                                 0
  47. #define GDX_Cancel                             1
  48. #define GDX_Save                               2
  49. #define GDX_Joystick1On                        3
  50. #define GDX_Joystick2On                        4
  51. #define GDX_JoystickSwap                       5
  52. #define GDX_GetDisplayID                       6
  53. #define GDX_DisplayID                          7
  54. #define GDX_ScreenType                         8
  55. #define GDX_GetDir8                            9
  56. #define GDX_GetDir9                            10
  57. #define GDX_GetDir10                           11
  58. #define GDX_GetDir11                           12
  59. #define GDX_OtherIEC                           13
  60. #define GDX_KeyboardYZ                         14
  61. #define GDX_Collisions                         15
  62. #define GDX_MapSlash                           16
  63. #define GDX_FastReset                          17
  64. #define GDX_LimitSpeed                         18
  65. #define GDX_NormalCycles                       19
  66. #define GDX_BadLineCycles                      20
  67. #define GDX_CIACycles                          21
  68. #define GDX_SkipLatch                          22
  69. #define GDX_Dir8                               23
  70. #define GDX_Dir9                               24
  71. #define GDX_Dir10                              25
  72. #define GDX_Dir11                              26
  73. #define GDX_Drv8Type                           27
  74. #define GDX_Drv9Type                           28
  75. #define GDX_Drv11Type                          29
  76. #define GDX_Drv10Type                          30
  77. #define GDX_SIDType                            31
  78. #define GDX_DirectVideo                        32
  79. #define GDX_SpritesOn                          33
  80.  
  81. #define Prefs_CNT 34
  82.  
  83. extern struct IntuitionBase *IntuitionBase;
  84. extern struct Library       *GadToolsBase;
  85.  
  86. extern struct Screen        *Scr;
  87. extern UBYTE                 *PubScreenName;
  88. extern APTR                  VisualInfo;
  89. extern struct Window        *PrefsWnd;
  90. extern struct Gadget        *PrefsGList;
  91. extern struct Menu          *PrefsMenus;
  92. extern struct Gadget        *PrefsGadgets[34];
  93. extern struct IClass        *getClass;
  94. extern struct _Object       *getImage;
  95. extern UWORD                 PrefsLeft;
  96. extern UWORD                 PrefsTop;
  97. extern UWORD                 PrefsWidth;
  98. extern UWORD                 PrefsHeight;
  99. extern UBYTE                *PrefsWdt;
  100. extern struct TextAttr      *Font, Attr;
  101. extern UWORD                 FontX, FontY;
  102. extern UWORD                 OffX, OffY;
  103. extern UBYTE                *ScreenType0Labels[];
  104. extern UBYTE                *Drv8Type0Labels[];
  105. extern UBYTE                *Drv9Type0Labels[];
  106. extern UBYTE                *Drv11Type0Labels[];
  107. extern UBYTE                *Drv10Type0Labels[];
  108. extern UBYTE                *SIDType0Labels[];
  109. extern struct NewMenu        PrefsNewMenu[];
  110. extern UWORD                 PrefsGTypes[];
  111. extern struct NewGadget      PrefsNGad[];
  112. extern ULONG                 PrefsGTags[];
  113.  
  114.  
  115. extern int SetupScreen( void );
  116. extern void CloseDownScreen( void );
  117. extern int OpenPrefsWindow( void );
  118. extern void ClosePrefsWindow( void );
  119.